import { createVNode, render } from 'vue';
import Tips from '../components/tips.vue';

const body = document.querySelectorAll('body')[0];

export default function _showTips({content}) {
    const vnode = createVNode(Tips, {content})

    render(vnode,body)

    setTimeout(() => {
        render(null,body)
    }, 5000);

}
